package org.apache.dubbo.common.config;

import org.apache.dubbo.common.extension.SPI;

import java.util.Properties;

/**
 *
 * The smaller value, the higher priority
 *
 */
@SPI
public interface OrderedPropertiesProvider {

    /**
     * order
     *
     * @return priority
     */
    int priority();

    /**
     * load the properties
     *
     * @return initProperties
     */
    Properties initProperties();
}
